


$(function () {





    render();
    function render() {
        $.ajax({
            url: '/cart/queryCart',
            dataType: 'json',
            success: function (info) {
                console.log(info);
                // 用户未登入
                if (info.error == 400) {
                    location.href = "login.html?retUrl=" + location.href;
                    return;
                }

                var strhtml = template('tmp', { list: info });
                $('.mui-scroll ul').html(strhtml);


            }
        })
    }


})